<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('game_channel', function (Blueprint $table) {
            $table->string('paykey', 125)->change();
            $table->string('gamepublickey', 125)->change();
            $table->string('gameprivatekey', 125)->change();
            $table->string('paypublickey', 125)->change();
            $table->string('payprivatekey', 125)->change();
            $table->string('pay_order_url', 125)->change();
            $table->string('game_bg_url', 125)->change();
            $table->string('offiaccount_qrcode_url', 125)->change();
            $table->string('mini_appid', 32)->comment('小程序appid')->default('');
            $table->string('mini_appsecret', 32)->comment('小程序appsecret')->default('');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
};
